feat(skills): add global skill availability controls - #1810
Merged
Conversation
- persist globally disabled user skill keys in shared configuration - exclude disabled skills from runtime selection across all agent types - add desktop APIs and Skills page controls for global availability - show globally disabled skills as locked in agent skill suites - cover runtime behavior and frontend state with focused tests
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add a global enable/disable control to each user-level Skill card. Disabling a Skill prevents it from being selected or invoked by every agent type, while preserving existing per-agent and project-level preferences for restoration after it is re-enabled.
Fixes #1806
Type and Areas
Type: Feature / UI/UX
Areas: Rust core, agent runtime, desktop/Tauri, web UI, locales
Motivation / Impact
Users can now disable an unwanted built-in or installed user-level Skill once from the Skills page instead of repeating the change for each agent. The global setting is stored by stable Skill key and applies to implicit discovery, explicit invocation, and hidden built-in fallback. Project-level Skills remain outside this global control.
Verification
cargo check --workspacecargo test -p bitfun-agent-runtime --test skill_contractsuseInstalledSkillstestpnpm run type-check:webpnpm run i18n:auditpnpm run fmt:rsgit diff --checkAll passed.
cargo check --workspacereported only pre-existing unused-code/import warnings.Reviewer Notes
Global disable is a runtime veto rather than a replacement for mode-specific preferences. Re-enabling a Skill restores its prior mode and project behavior. Remote workspace policies declare both new desktop commands as workspace-agnostic.
Checklist